<template>
  我是{{store_user.state}}
  <van-button @click="buttonfun">点击跳转</van-button>
  <van-button type="primary" size="large">大号按钮</van-button>
</template>

<script setup>
  import {
    inject,
    getCurrentInstance
  } from "vue"
  let store_user = inject("$store_user");
  let {
    proxy
  } = getCurrentInstance();

  let buttonfun = () => {

    proxy.$core.router('home', {});
  }
</script>

<style>
</style>